<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>LogWeb</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="node_modules/adminlte/dist/css/AdminLTE.min.css"/>
    <link rel="stylesheet" href="node_modules/adminlte/dist/css/skins/skin-blue.min.css"/>
    <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="public/css/hack.css"/>
    <link rel="stylesheet" href="public/css/select2.css"/>
    <link rel="stylesheet" href="public/css/select2-bootstrap.css"/>
    <link rel="shortcut icon" href="public/imgs/spider.png"
          type="image/x-icon"/>

</head>
<body class="skin-blue sidebar-none fixed" ng-controller="rootController">

<header class="main-header">
    <a class="logo">
        <img src="public/imgs/favicon.png" style="padding-bottom: 5px;"> LogWeb
    </a>
    <nav class="navbar navbar-static-top" role="navigation">
        <!-- 菜单 -->
        <ul class="nav navbar-nav">
            <li class="dropdown messages-menu ">
                <a href="#/hosts" ng-class="menuClass('#/hosts');">主机</a>
            </li>
            <li class="dropdown messages-menu ">
                <a href="#/apps" ng-class="menuClass('#/apps');">应用</a>
            </li>
            <li class="dropdown messages-menu ">
                <a href="logWebweb-node" target="_blank">控制台</a>
            </li>
            <li class="dropdown messages-menu ">
                <a href="public/manual/manual.htm" target="_blank">使用说明</a>
            </li>

            <!--<li class="dropdown messages-menu ">-->
            <!--<a href="#/dashboard">仪表盘</a>-->
            <!--</li>-->
            <!--<li class="dropdown messages-menu">-->
            <!--<a href="#" class="dropdown-toggle" data-toggle="dropdown">告警<span-->
            <!--class="caret"></span></a>-->
            <!--<ul class="dropdown-menu">-->
            <!--<li>-->
            <!--<ul class="menu">-->
            <!--<li>-->
            <!--<a href="#/warnrule">规则设置</a>-->
            <!--</li>-->
            <!--<li>-->
            <!--<a href="#/warnerrdetail">告警详情</a>-->
            <!--</li>-->
            <!--</ul>-->
            <!--</li>-->
            <!--</ul>-->
            <!--</li>-->
        </ul>


        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li class="dropdown user user-menu"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><img
                        src="public/imgs/user2-160x160.jpg" class="user-image" alt="User Image">
                    <span>{{user.name}}</span></a>
                    <ul class="dropdown-menu">
                        <li class="user-header"><img src="public/imgs/user2-160x160.jpg" class="img-circle"
                                                     alt="User Image">

                            <p class="ng-binding">{{user.name}}</p></li>
                        <li class="user-footer">
                            <!--href="{{user.logout_url}}" 后端访问不了退出地址-->
                            <div class="pull-right"><a href="logout"
                                                       class="btn btn-danger btn-flat"><i
                                    class="fa fa-sign-out"></i>退出</a></div>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>

</header>

<div class="content-wrapper">
    <div class="content body">
        <div ui-view>
            <div class="row" style="padding-top: 100px;">
                <div class="col-xs-4 col-xs-offset-4">
                    <img src="public/imgs/loading.gif">
                </div>
            </div>
            <div class="row">
                <div class="col-xs-4 col-xs-offset-4" style="text-align: center;">
                    <span>可开启浏览器缓存,下次就看不到我了!</span>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="infodialog" class="modal">
    <div class="modal-dialog" style="text-align: center;">
        <div class="box box-warning" style="display: inline-block;width: auto;min-width: 300px;text-align: left;">
            <div class="box-header with-border"><h3 class="box-title">提示</h3>

                <div class="box-tools">
                    <button class="btn btn-box-tool" onclick="infoDlgHide();"><i class="fa fa-times"></i></button>
                </div>
            </div>
            <div class="box-body" id="infomsg" style="font-weight:bold;"></div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="public/lib/js/require.min.js"></script>
<script type="text/javascript" src="public/lib/js/require-config.js"></script>
<script type="text/javascript" src="public/js/app.js"></script>
</html>